AmeliaBooking\Application\Services\User\ProviderApplicationService D

Total Complexity 245
Dependencies 30
Dependents 0
Total lines 1,594
Lines of code 916
Logical lines of code 502
Comment lines 333
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
getProviderServiceLocations()
D
29
54 104
updateProviderWorkDays()
C
32 29 100
updateProviderSpecialDays()
B
36 21 79
add()
B
36 18 77
addAppointmentsToAppointmentList()
B
38 18 74
delete()
A
43 14 46
modifyProviderTimeZone()
A
35 9 101
manageProvidersActivity()
A
47 10 35
createProvider()
A
44 8 44
getAllowedCustomers()
A
46 8 38
getProviderScheduleIntervals()
A
45 7 46
updateProviderDaysOff()
A
52 8 22
updateProviderServices()
S
51 7 27
removeAllExceptUser()
S
56 7 17
getProviderWithServicesAndSchedule()
S
53 5 21
setProvidersAlwaysAvailableForAdmin()
S
53 5 21
updateProviderLocations()
S
56 5 19
update()
S
57 5 16
checkIfTodayIsCompanyDayOff()
S
61 4 12
__construct()
S
81 1 3
updateProviderGoogleCalendar()
S
70 1 7
updateProviderOutlookCalendar()
S
70 1 7